Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UninterpretedConstOracle refactor #2734

Merged
merged 11 commits into from
Oct 19, 2023
Merged

UninterpretedConstOracle refactor #2734

merged 11 commits into from
Oct 19, 2023

Conversation

Kukovec
Copy link
Collaborator

@Kukovec Kukovec commented Sep 14, 2023

  • Tests added for any new code
  • Ran make fmt-fix (or had formatting run automatically on all files edited)
  • Documentation added for any new functionality
  • Entries added to ./unreleased/ for any new functionality

Following the pattern laid out in #2709 for IntOracle, this PR introduces the same alterations to UninterpretedConstOracle.

@Kukovec Kukovec requested a review from konnov September 14, 2023 10:27
@codecov-commenter
Copy link

codecov-commenter commented Sep 21, 2023

Codecov Report

Merging #2734 (66d757c) into main (9d7a760) will increase coverage by 0.03%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##             main    #2734      +/-   ##
==========================================
+ Coverage   78.82%   78.85%   +0.03%     
==========================================
  Files         464      465       +1     
  Lines       15879    15895      +16     
  Branches     2589     2590       +1     
==========================================
+ Hits        12516    12534      +18     
+ Misses       3363     3361       -2     
Files Coverage Δ
...edRules/aux/oracles/UninterpretedConstOracle.scala 87.50% <87.50%> (ø)

... and 4 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Kukovec
Copy link
Collaborator Author

Kukovec commented Oct 17, 2023

@konnov can you take a look at this soon-ish? I'd like to close this (and #2731 after)

@Kukovec Kukovec requested a review from thpani October 18, 2023 13:38
Copy link
Collaborator

@thpani thpani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

import org.scalatestplus.scalacheck.Checkers

@RunWith(classOf[JUnitRunner])
class TestUCOracle extends AnyFunSuite with BeforeAndAfterEach with Checkers {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shortening the class name makes this hard to find (if I'm looking for the tests for UninterpretedConstOracle).

Suggested change
class TestUCOracle extends AnyFunSuite with BeforeAndAfterEach with Checkers {
class TestUninterpretedConstOracle extends AnyFunSuite with BeforeAndAfterEach with Checkers {

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I'll have to add this manually though to also rename the file.

@Kukovec Kukovec enabled auto-merge (squash) October 19, 2023 10:51
@Kukovec Kukovec merged commit 2c336c1 into main Oct 19, 2023
10 checks passed
@Kukovec Kukovec deleted the jk/oracles2 branch October 19, 2023 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants